Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

block-padding+inout: remove std feature #1117

Merged
merged 2 commits into from
Sep 28, 2024
Merged

block-padding+inout: remove std feature #1117

merged 2 commits into from
Sep 28, 2024

Conversation

tarcieri
Copy link
Member

Leverages the error_in_core feature stabilized in Rust 1.81 to allow Error trait impls in no_std contexts.

This was the only dependency on std, so this also removes the std feature, which is no longer necessary.

Leverages the `error_in_core` feature stabilized in Rust 1.81 to allow
`Error` trait impls in `no_std` contexts.

This was the only dependency on `std`, so this also removes the `std`
feature, which is no longer necessary.
@tarcieri tarcieri changed the title block_padding+inout: remove std feature block-padding+inout: remove std feature Sep 28, 2024
Copy link
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also probably can remove the [package.metadata.docs.rs] section as well.

@tarcieri tarcieri merged commit ab0c802 into master Sep 28, 2024
16 checks passed
@tarcieri tarcieri deleted the error_in_core branch September 28, 2024 18:20
Comment on lines -21 to -22
[package.metadata.docs.rs]
all-features = true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we still need the all-features = true here because of the block-padding feature.

I think --cfg docsrs might be set automatically now though?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think --cfg docsrs might be set automatically now though?

It would be great, if true. We should eventually remove it from other crates then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants